/*
*
* ConfigMapper.java
* @date 2019-02-16
*/
package com.lyz.myself.mapper;

import com.lyz.myself.pojo.Po.Config;
import org.apache.ibatis.annotations.Param;

public interface ConfigMapper {
    /**
     *
     * @mbg.generated 2019-02-16
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2019-02-16
     */
    int insert(Config record);

    /**
     *
     * @mbg.generated 2019-02-16
     */
    int insertSelective(Config record);

    /**
     *
     * @mbg.generated 2019-02-16
     */
    Config selectByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2019-02-16
     */
    int updateByPrimaryKeySelective(Config record);

    /**
     *
     * @mbg.generated 2019-02-16
     */
    int updateByPrimaryKeyWithBLOBs(Config record);

    /**
     *
     * @mbg.generated 2019-02-16
     */
    int updateByPrimaryKey(Config record);

    /**
     * 查询线索过期天数
     */
    int getByDay();
}